package com.example.mvvmtemplate.repository;

import android.app.Application;

import com.example.mvvmtemplate.bean.LoginInfoBean;

import java.io.IOException;

public class LoginRepository {

    /**
     * 模拟登录
     */
    public static LoginInfoBean login(Application application, String name, String password, int userType) throws IOException {
        try {
            Thread.sleep(500);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        return new LoginInfoBean();
    }
}
